package 并查集;

/**
 * @author shy_black
 * @date 2019/4/22 15:51
 * @Description:
 */
public interface UnionFind {
    int getSize();
    boolean isConnected(int p, int q);
    void unionElements(int p, int q);
}
